<?php

namespace App\Support;

class Data
{

    /**
     * 返回时间尺度.
     *
     * @return string[]
     */
    public static function timeScales(): array
    {
        return [
            'day' => '天',
            'month' => '月',
            'year' => '年',
        ];
    }
    /**
     * 成功或失败.
     *
     * @return string[]
     */
    public static function successOrFail(): array
    {
        return ['失败', '成功'];
    }

    /**
     * 性别
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getSex()
    {
        return [1 => '男', 2 => '女'];
    }

    /**
     * 病例来源
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getMedicalSource()
    {
        return [
            1 => '消化科',
            2 => '内科',
            3 => '心理科',
            4 => '其他',
        ];
    }

    /**
     * BIM 指标判断
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getBimType()
    {
        return [
            1 => '偏瘦',
            2 => '标准',
            3 => '微胖',
            4 => '肥胖',
            5 => '重度肥胖',
        ];
    }

    /**
     * 主诉症状
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getSymptom()
    {
        return [
            1 => '体重减轻',
            2 => '腹胀',
            3 => '嗳气',
            4 => '早饱',
            5 => '餐后饱胀',
            6 => '呕吐',
            7 => '食欲减退',
            8 => '腹部疼痛/不适',
            9 => '焦虑抑郁',
            10 => '恶心',
            11 => '其他',
        ];
    }

    /**
     * 既往检查成功
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getPastCheckSuccess()
    {
        return [
            1 => '体格',
            2 => '实验室检查结果',
            3 => '影像学检查结果',
            4 => '病理检查结果',
            5 => '其他检查结果',
        ];
    }

    /**
     * 既往检查失败
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getPastCheckFail()
    {
        return [
            1 => '不知晓',
            2 => '不重视',
            3 => '担心费用问题',
            4 => '没有出现明显症状',
            5 => '工作忙，没有时间检查',
            6 => '其他',
        ];
    }

    /**
     * 诊断
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getDiagnosis()
    {
        return [
            1 => '慢性胃炎',
            2 => '消化性溃疡',
            3 => '功能性消化不良',
            4 => '其他',
        ];
    }

    /**
     * 中医证型
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-07-17
     * @return void
     */
    public static function getTcmSyndromeType()
    {
        return [
            1 => '肝郁气滞症',
            2 => '气滞型胃脘痛'
        ];
    }

    /**
     * 合并病症
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getComorbidities()
    {
        return [
            1 => '焦虑(汉密尔顿焦虑量表评分)',
            2 => '抑郁(汉密尔顿焦虑量表评分)',
            3 => '其他',
        ];
    }

    /**
     * 合并病症
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getComorbiditie()
    {
        return [
            1 => '无',
            2 => '焦虑抑郁症',
            3 => '其他',
        ];
    }

    /**
     * 不良反应
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getAdverseReactions()
    {
        return [
            1 => '头痛',
            2 => '头晕',
            3 => '恶心',
            4 => '呕吐',
            5 => '腹泻',
            6 => '肌痛',
            7 => '关节痛',
            8 => '骨痛',
            9 => '背痛',
            10 => '寒颤',
            11 => '疲劳',
            12 => '乏力',
            13 => '疼痛',
            14 => '肢体疼痛',
            15 => '流感样疾病',
            16 => '其他',
        ];
    }
    /**
     * 不良反应程度
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getAdverseReactionsSeverity()
    {
        return [
            1 => '轻度',
            2 => '中度',
            3 => '重度',
        ];
    }

    /**
     * 是否与观察药物相关
     *
     * @Author hechengwei
     * @email chichiooo@sina.com
     * @DateTime 2024-06-19
     * @return void
     */
    public static function getIsRelated()
    {
        return [
            1 => '肯定',
            2 => '很可能',
            3 => '可能',
            4 => '可能无关',
            5 => '待评价',
            6 => '无法评价',
        ];
    }
}
